package com.zhupanlin.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhupanlin
 * @version 1.0
 * @description: TODO
 * @date 2024/12/21 16:12
 */
@RestController
public class DemoController {

    /*@GetMapping("/demo")
    //@CrossOrigin(origins = {"http://localhost:63342"}) // 用来解决允许跨域访问
    public String demo() {
        System.out.println("demo ok!");
        return "demo ok!";
    }*/

}
